<?php

use Illuminate\Database\Seeder;

class GoodsTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        DB::table('goods')->insert([
            [
            'name'=>'磨砂玻璃',
            'codeno'=>'MS20156',
            'image'=>'boli.jpg',
            'price'=>80.5,
            'danwei'=>'块',
            ],
            [
            'name'=>'压花玻璃',
            'codeno'=>'YH20156',
            'image'=>'boli2.jpg',
            'price'=>180.5,
             'danwei'=>'块',
            ],
            [
            'name'=>'刻花玻璃',
            'codeno'=>'KH20156',
            'image'=>'boli2.jpg',
            'price'=>280.5,
             'danwei'=>'块',
            ],
        ]);
    }
}
